package top.IT00544.novel.entity;

/**
 * 小说实体类
 */
public class Novel {

    /**唯一标识*/
    private long id;
    /**小说名称 / 章节名称*/
    private String name;
    /**小说作者*/
    private String author;
    /**小说本地地址*/
    private String url_local;
    /**小说官网*/
    private String url_web;
    /**小说本地大小*/
    private int size;
    /**小说封面*/
    private String cover;
    /**小说章节数据库*/
    private String url_db_name;
    /**小说章节内容*/
    private String content;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getUrl_local() {
        return url_local;
    }

    public void setUrl_local(String url_local) {
        this.url_local = url_local;
    }

    public String getUrl_web() {
        return url_web;
    }

    public void setUrl_web(String url_web) {
        this.url_web = url_web;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getUrl_db_name() {
        return url_db_name;
    }

    public void setUrl_db_name(String url_db_name) {
        this.url_db_name = url_db_name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "Novel{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", author='" + author + '\'' +
                ", url_local='" + url_local + '\'' +
                ", url_web='" + url_web + '\'' +
                ", size=" + size +
                ", cover='" + cover + '\'' +
                ", url_db_name='" + url_db_name + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
